﻿@model qltscd.Models.DanhMucKieu
@{
    ViewBag.Title = "Thông tin kiểu";
    Layout = "~/Views/Shared/_WindowLayout.cshtml";
}

<fieldset>
        <legend>Danh Mục Kiểu</legend>
        <table border="0" width="100%" cellpadding="10px" cellspacing="10px">
        <tr>
            <td style="margin-left: 10px;" class="label_col">
                Mã Kiểu
            </td>
            <td>
                @Html.TextBoxFor(model => model.MaKieu, new { @style = "width:97%;"})
                @Html.ValidationMessageFor(model => model.MaKieu)
            </td>    
            
            <td style="margin-left: 10px;" class="label_col">
                Tên Kiểu
            </td>
            <td>
                @Html.TextBoxFor(model => model.TenKieu, new { @style = "width:97%;"})
                @Html.ValidationMessageFor(model => model.TenKieu)
            </td>
        </tr>
        <tr>
            <td style="margin-left: 10px;" class="label_col">
                Chủng loại
            </td>
            <td>
                @(Html.Telerik().ComboBox()
                    .Name("IdentityChungLoai")
                    .HtmlAttributes(new { @style = "width:97%;" })
                    .BindTo((SelectList)ViewBag.IdentityChungLoai)
                )
                @Html.ValidationMessageFor(model => model.IdentityChungLoai)
            </td>

            <td style="margin-left: 10px;" class="label_col">
                Hãng sản xuất
            </td>
            <td>
                @(Html.Telerik().ComboBox()
                    .Name("IdentityHangSanXuat")
                    .HtmlAttributes(new { @style = "width:97%;" })
                    .BindTo((SelectList)ViewBag.IdentityHangSanXuat)
                )
                @Html.ValidationMessageFor(model => model.IdentityHangSanXuat)
            </td>
        </tr>
        </table>
    </fieldset>
    <style type="text/css">
    .lable_col
    {
        font-weight: bold;
        text-align: right;
        font-style: italic;
        margin-right: 5px;
        color: Black;
    }
    fieldset
    {
        height: 85%;
        line-height: 38px;
    }
    legend
    {
        color:Black;
        font-weight:bold;
    }
    td
    {
        vertical-align: middle !important;
        }
</style>
